package socilgirl.dell.mydemo.view;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import socilgirl.dell.mydemo.R;
import socilgirl.dell.mydemo.common.viewweight.CommonTopBar;

public class ShopDaoActivity extends AppCompatActivity {

    @BindView(R.id.title_shopdao)
    CommonTopBar titleShopdao;
    @BindView(R.id.et_shopid)
    EditText etShopid;
    @BindView(R.id.et_shopname)
    EditText etShopname;
    @BindView(R.id.btn_addshop)
    Button btnAddshop;
    @BindView(R.id.btn_updata_shop)
    Button btnUpdataShop;
    @BindView(R.id.btn_dele_shop)
    Button btnDeleShop;
    @BindView(R.id.btn_query_shop)
    Button btnQueryShop;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_shop_dao);
        ButterKnife.bind(this);

    }

    @OnClick({R.id.btn_addshop, R.id.btn_updata_shop, R.id.btn_dele_shop, R.id.btn_query_shop})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.btn_addshop:
                break;
            case R.id.btn_updata_shop:
                break;
            case R.id.btn_dele_shop:
                break;
            case R.id.btn_query_shop:
                break;
        }
    }
}
